package com.example.shushiyunsst.fragment.main.home.child.new_sale.recycler.bean

abstract class NewSaleEntityWrapper<T : NewSaleEntity?> : NewSaleEntity {

    private val mData = mutableListOf<NewSaleEntity>()

    fun addData(cols: Collection<NewSaleEntity>) {
        mData.clear()
        mData.addAll(cols)
    }

    fun getData() = mData
}